package com.bootdo.shop.dao;

import com.bootdo.shop.domain.SpecificationDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 规格表

 * @author yhg
 * @email 411741962@qq.com
 * @date 2017-12-22 13:43:28
 */
@Mapper
public interface SpecificationDao {

	SpecificationDO get(Long specificationId);
	
	List<SpecificationDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(SpecificationDO specification);
	
	int update(SpecificationDO specification);
	
	int remove(Long specification_id);
	
	int batchRemove(Long[] specificationIds);
}
